Skip to content

Conversation

follesoe
Copy link
Member

Adds new message definitions for use with the new removable storage device.

The key improvements are:

  • RemovableStorageTel with information about any connected removable storage device
  • FormatRemovableStorageDeviceCtrl to format a storage device
  • RemovableStorageErrorFlags listing all the relevant error states for the device
  • GuestPortDetachStatus is used to indicate weather a removable storage device is connected to the USB cable (when the water proof canister is attached, and a user optionally can have a USB storage device inside the canister).

@follesoe follesoe added this to the Blunux v4.5 milestone Jun 28, 2025
@follesoe follesoe requested review from jp-pino and Copilot June 28, 2025 13:36
@follesoe follesoe self-assigned this Jun 28, 2025
@follesoe follesoe added the enhancement New feature or request label Jun 28, 2025
@follesoe follesoe linked an issue Jun 28, 2025 that may be closed by this pull request
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request introduces new Protobuf message definitions to support telemetry and control for removable storage devices. Key changes include:

  • Updated VideoStorageSpaceTel to include a field for removable storage information.
  • Added the new RemovableStorageTel message for transmitting removable storage device data.
  • Introduced new boolean flags in StorageSpace and added the FormatRemovableStorageDeviceCtrl message with appropriate documentation.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
protobuf_definitions/telemetry.proto Added a new removable_space field to VideoStorageSpaceTel and defined RemovableStorageTel.
protobuf_definitions/message_formats.proto Added two new boolean fields to indicate file system errors and read-only device status.
protobuf_definitions/control.proto Added the FormatRemovableStorageDeviceCtrl message with detailed warnings about data loss.

@jp-pino jp-pino merged commit 5739a6a into master Jul 1, 2025
4 checks passed
@jp-pino jp-pino deleted the removable-storage branch July 1, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add messages to support removable storage on Blunux
2 participants